<%-- 
    Document   : dao2
    Created on : 2014/8/20, 下午 02:12:31
    Author     : gjun
--%>

<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.Connection"%>
<%@page import="java.sql.DriverManager"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
     dao.BaseDAO y = new dao.BaseDAO();
    String sql="update person set username=?  where id=?";
    String ary[]={"Mary" , "14" };
    int x = y.modify(sql, ary);
    %>


<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Update</title>
    </head>
    <body>
        <h1>Update!</h1>
        
    </body>
</html>


